/**
 * Created with Intellij IDEA.
 * Description:
 * User:Lenovo
 * Date:2024-12-03
 * Time:20:24
 */
class Date {
    public int year = 1900;
    public int month = 1;
    public int day = 1;
    public Date(){
    }
    public Date(int year, int month, int day) {
        this.year=year;
        this.month=month;
        this.day=day;
    }
    public void Print(){
        System.out.println(this.year + "-" + this.month + "-" + this.day);
    }
}
public class Text {
    public static void main(String[] args) {
        Date d1 = new Date();
        d1.Print();
        Date d2 = new Date(2024,12,3);
        d2.Print();
    }
}
